package io.renren.modules.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 人员变更明细
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-08-02 10:30:00
 */
@Data
@TableName("t_people_change_details")
public class TPeopleChangeDetailsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 
	 */
	private Integer changeId;
	/**
	 * 
	 */
	private Integer peopleId;
	/**
	 * 
	 */
	private String peopleName;
	/**
	 * 
	 */
	private String oldPost;
	/**
	 * 
	 */
	private String newPost;
	private String oldClasses;
	/**
	 *
	 */
	private String newClasses;
	/**
	 * 
	 */
	private String oldDept;
	/**
	 * 
	 */
	private String newDept;
	/**
	 * 
	 */
	private String oldTitle;
	/**
	 * 
	 */
	private String newTitle;
	/**
	 * 
	 */
	private String state;
	/**
	 * 
	 */
	private String other;
	/*
	*
	* */
	private Integer oldZdept;
	/*
	*
	* */
	private Integer newZdept;
	private String changeType;
	@JsonFormat(pattern ="yyyy-MM-dd")
	private Date changeTime;


	@TableField(exist = false)
	private String oldDetachment;
	@TableField(exist = false)
	private String newDetachment;
	@TableField(exist = false)
	private String station;
	@TableField(exist = false)
	private String pname;
	@TableField(exist = false)
	private String name;
	@TableField(exist = false)
	private String likeName;

	@TableField(exist = false)
	private String page;
	@TableField(exist = false)
	private String limit;
	@TableField(exist = false)
	private String oldName;
	@TableField(exist = false)
	private String newName;
	@TableField(exist = false)
	private String file;
	@TableField(exist = false)
	private String oldClassesName;
	@TableField(exist = false)
	private String newClassesName;
	@TableField(exist = false)
	private String poldDetachment;
	@TableField(exist = false)
	private String pnewDetachment;
	/**
	 * 支队
	 */
	@TableField(exist = false)
	private Integer detachment;
	/**
	 * 中队
	 */
	@TableField(exist = false)
	private Integer squadron;

}
